package cn.yh.hospitalappointmentsystemdemo.service.impl;

import cn.yh.hospitalappointmentsystemdemo.domain.vo.HospitalVo;
import cn.yh.hospitalappointmentsystemdemo.mapper.HospitalsMapper;
import cn.yh.hospitalappointmentsystemdemo.service.IHospitalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class HospitalServiceImpl implements IHospitalService {
    @Autowired
    private HospitalsMapper hospitalsMapper;
    @Override
    public List<HospitalVo> list() {
        return hospitalsMapper.HospitalList();
    }
}
